<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			div{
				width: 100px;
				height: 100px;
				background: red;
				transition-property:width,height;
				transition-duration: 1s,2s;
				transition-timing-function: linear,ease;
			}
			div:hover{
				width: 300px;
				height: 300px;
				background: yellow;
			}
		</style>
	</head>
	<body>
		<div></div>
	</body>
</html>